of
Creates a new page range instance.
Page ranges must not exceed the total page count received with the PageCountUpdated event. An attempt to print a document with invalid page ranges will result in cancelling the current printing operation.
Parameters
from
the 1-based number of the first page within the range
to
the 1-based number of the last page within the range
Throws
if from
is less than one